import BlankView from '@/layouts/BlankView'
const tpm= [
    {
      path: 'index',
      name: '工作台',
      meta: {
        icon: 'dashboard',
      },
      component: () => import('@/pages/dashboard/analysis'),
    },
    {
      path: 'basic',
      name: '设备台账',
      meta: {
        icon: 'database',
      },
      component: BlankView,
      children: [
        {
          path: 'type',
          name: '设备类型',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'bom',
          name: '设备BOM',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'task',
          name: '设备台账',
          component: () => import('@/pages/form/basic'),
        }
      ]
    },
    {
      path: 'repair',
      name: '设备维修',
      meta: {
        icon: 'tool',
      },
      component: BlankView,
      children: [
        {
          path: 'type',
          name: '故障类型',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'task',
          name: '工单管理',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'assert',
          name: '分析',
          component: () => import('@/pages/form/step'),
        },
        {
          path: 'knowledge',
          name: '经验库',
          component: () => import('@/pages/form/step'),
        }
      ]
    },
    {
      path: 'yang',
      name: '设备保养',
      meta: {
        icon: 'insurance',
      },
      component: BlankView,
      children: [
        {
          path: 'item',
          name: '保养项',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'plan',
          name: '计划',
          component: () => import('@/pages/form/step'),
        },
        {
          path: 'task',
          name: '任务',
          component: () => import('@/pages/form/step'),
        },
        {
          path: 'assert',
          name: '分析',
          component: () => import('@/pages/form/step'),
        },
        {
          path: 'knowledge',
          name: '经验库',
          component: () => import('@/pages/form/step'),
        }
      ]
    },
    {
      path: 'check',
      name: '点检巡检',
      meta: {
        icon: 'check-square',
      },
      component: BlankView,
      children: [
        {
          path: 'item',
          name: '检查项',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'plan',
          name: '计划',
          component: () => import('@/pages/form/step'),
        },
        {
          path: 'task',
          name: '任务',
          component: () => import('@/pages/form/step'),
        },
        {
          path: 'assert',
          name: '分析',
          component: () => import('@/pages/form/step'),
        },
        {
          path: 'knowledge',
          name: '经验库',
          component: () => import('@/pages/form/step'),
        }
      ]
    },
    {
      path: 'part',
      name: '备件管理',
      meta: {
        icon: 'gold',
      },
      component: BlankView,
      children: [
        {
          path: 'base',
          name: '备件信息',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'in',
          name: '入库',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'out',
          name: '出库',
          component: () => import('@/pages/form/step'),
        },
        {
          path: 'inventory',
          name: '盘点',
          component: () => import('@/pages/form/step'),
        },
        {
          path: 'live',
          name: '实时库存',
          component: () => import('@/pages/form/step'),
        },
        {
          path: 'flow',
          name: '出入流水',
          component: () => import('@/pages/form/step'),
        }
      ]
    },
    {
      path: 'online',
      name: '设备联网',
      meta: {
        icon: 'wifi',
      },
      component: BlankView,
      children: [
        {
          path: 'model',
          name: '设备模型',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'test',
          name: '设备调试',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'monitor',
          name: '联网监控',
          component: () => import('@/pages/form/step'),
        }
      ]
    },
    {
      path: 'advance',
      name: '数据中心',
      meta: {
        icon: 'area-chart',
      },
      component: BlankView,
      children: [
        {
          path: 'monitor',
          name: '监控看板',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'analysis',
          name: '数据分析',
          component: () => import('@/pages/form/basic'),
        }
      ]
    }
  ]
export default tpm